home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February / PCWorld_2008-02_cd.bin / akce / allmymovies / amm_setup395free.exe / {app} / templates / readme.txt
Encoding:
Text File  |  2006-05-09  |  3.2 KB  |  97 lines

  1. You can freely make your own HTML templates.
  2. They must be located in the AllMyMovies\templates folder as a separate folders.
  3. Each template consists of 3 main files - header.html, template.html and footer.html.
  4. Just look the examples.
  5.  
  6. Use the following shortenings for All My Movies database field values:
  7.  [amm:title]
  8.  [amm:date]  - release year
  9.  [amm:dateadded] - date added
  10.  [amm:genre]
  11.  
  12.  [amm:rating] - text OR stars. Depends on AMM preferences
  13.  [amm:ratingtext] - always text rating
  14.  
  15.  [amm:director]
  16.  [amm:duration]
  17.  [amm:media]
  18.  [amm:actors]
  19.  [amm:description]
  20.  [amm:imgname] - movie's cover image
  21.  
  22.  [amm:origtitle]
  23.  [amm:resolution]
  24.  [amm:size] - movie file size
  25.  [amm:mediacount]
  26.  [amm:medialocation]
  27.  [amm:medialabel]
  28.  [amm:vidcodec] - video codec name
  29.  [amm:vidbitrate] - average video bitrate
  30.  [amm:audcodec] - audio codec name
  31.  [amm:audbitrate] -average audio bitrate
  32.  [amm:audinfo] - audio info
  33.  [amm:loan] - "loaned to" field
  34.  
  35.  [amm:comments]
  36.  [amm:medialabel]
  37.  [amm:subtitles]
  38.  [amm:aspectratio]
  39.  [amm:url] - note, this is equal <A HREF="movie url">. So don't forget to write </A> tag after  [amm:url]
  40.  [amm:urltext] - movie URL field. Inserts as usual text
  41.  
  42.  [amm:country]  - country
  43.  [amm:mpaa] - MPAA rating
  44.  [amm:studio] - Studio name
  45.  [amm:recnum] - current movie number
  46.  [amm:total] - total records in the database
  47.  [amm:lastupdate]  - current data. May be used for "Last update:"
  48.  [amm:localpath] - local path to the movie. Inserts as a hyperlink
  49.  [amm:localpathtext] - local path to the movie. Inserts as a text
  50.  [amm:movieid] - Numeric Movie ID
  51.  [amm:userflags] - personal marks
  52.  [amm:seen] - Seen field as a checkbox
  53.  [amm:wishlist] - Wishlist fields as a checkbox
  54.  
  55.  [amm:nextpage] - used for links to other pages inserting when splitting collection to several pages
  56.  
  57. User defined fields can be added to your templates too.
  58. For example, if you have a user defined field with name of "my_field"
  59. you have to use [ammud:my_field] as a shortcut
  60.  
  61. If you have a problems with Java scripts in your template try to use
  62. [amm:scriptingon] to turn on special characters replacing for correct script execution
  63. and  [amm:scriptingoff] to turn off this feature
  64.  
  65.  
  66. below is a shortcuts for some translated keywords:
  67. [amm:strtitle] - "Title"
  68. [amm:strdate] - "Year"
  69. [amm:strgenre] - "Genre"
  70. [amm:strrating] - "Rating"
  71. [amm:strdirector] - "Director"
  72. [amm:strduration] - "Duration"
  73. [amm:strmedia] - "Media type"
  74. [amm:stractors] - "Actors"
  75. [amm:strorigtitle] - "Original title"
  76. [amm:strresolution] - "Resolution"
  77. [amm:strsize] - "File Size"
  78. [amm:strmediacount] - "Media count"
  79. [amm:strmedialocation] - "Media location"
  80. [amm:strcodec] - "Codec"
  81. [amm:strbitrate] - "Average bitrate"
  82. [amm:strdescription] - "Description"
  83. [amm:strtotal] - "Total"
  84. [amm:strmedialabel] - "Media label"
  85. [amm:strsubtitles] - "Available subtitles"
  86. [amm:straspectratio] - "Aspect Ratio"
  87. [amm:strurl] - "Visit movie's web page"
  88. [amm:strcountry] - "Country"
  89. [amm:strdateadded] - "Date added"
  90. [amm:strlastupdate] - "Last updated"
  91. [amm:strstudio] - "Studio"
  92. [amm:strlocalpath] - "Local path"
  93. [amm:straudinfo] - "Audio info"
  94. [amm:strloan] - "Loaned to"
  95. [amm:struserflags] - "Personal marks"
  96. [amm:strseen] = "Seen"
  97. [amm:strwishlist] = "Wishlist"